<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<title>Reference Card</title>
<link href="../docs-assets/Breadcrumbs.css" rel="stylesheet" rev="stylesheet" type="text/css">
		<meta name="viewport" content="width=device-width initial-scale=1">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<meta http-equiv="Content-Language" content="en-gb">

<link href="../docs-assets/Contents.css" rel="stylesheet" rev="stylesheet" type="text/css">
<link href="../docs-assets/Progress.css" rel="stylesheet" rev="stylesheet" type="text/css">
<link href="../docs-assets/Navigation.css" rel="stylesheet" rev="stylesheet" type="text/css">
<link href="../docs-assets/Fonts.css" rel="stylesheet" rev="stylesheet" type="text/css">
<link href="../docs-assets/Base.css" rel="stylesheet" rev="stylesheet" type="text/css">
<link href="../docs-assets/Colours.css" rel="stylesheet" rev="stylesheet" type="text/css">
		
	</head>
	<body class="commentary-font">
		<nav role="navigation">
		<h1><a href="../index.html"><img src="../docs-assets/Inform.png" height=72> </a></h1>
<ul><li><a href="../index.html">home</a></li>
</ul><h2>Compiler</h2><ul>
<li><a href="../structure.html">structure</a></li>
<li><a href="../inbuildn.html">inbuild</a></li>
<li><a href="../inform7n.html">inform7</a></li>
<li><a href="../intern.html">inter</a></li>
<li><a href="../services.html">services</a></li>
<li><a href="../secrets.html">secrets</a></li>
</ul><h2>Other Tools</h2><ul>
<li><a href="../inblorbn.html">inblorb</a></li>
<li><a href="../inform6.html">inform6</a></li>
<li><a href="../inpolicyn.html">inpolicy</a></li>
</ul><h2>Resources</h2><ul>
<li><a href="../extensions.html">extensions</a></li>
<li><a href="../kits.html">kits</a></li>
</ul><h2>Repository</h2><ul>
<li><a href="https://github.com/ganelson/inform"><img src="../docs-assets/github.png" height=0> github</a></li>
</ul><h2>Related Projects</h2><ul>
<li><a href="https://github.com/ganelson/inweb"><img src="../docs-assets/github.png" height=0> inweb</a></li>
<li><a href="https://github.com/ganelson/intest"><img src="../docs-assets/github.png" height=0> intest</a></li>
</ul>
		</nav>
		<main role="main">
		<!-- Weave of 'Reference Card' generated by inweb -->
<div class="breadcrumbs">
    <ul class="crumbs"><li><a href="../index.html">Home</a></li><li><a href="index.html">inpolicy</a></li><li><a href="index.html#M">Manual</a></li><li><b>Reference Card</b></li></ul></div>
<p class="purpose">The current help information as it would be printed at the command line.</p>

<p class="commentary firstcommentary"><a id="SP1" class="paragraph-anchor"></a><b>&#167;1. </b>Running Inpolicy with <span class="extract"><span class="extract-syntax">-help</span></span> currently produces the following summary:
</p>

<pre class="undisplayed-code all-displayed-code code-font">
<span class="identifier-syntax">A</span><span class="plain-syntax"> </span><span class="identifier-syntax">lint</span><span class="plain-syntax">-</span><span class="identifier-syntax">like</span><span class="plain-syntax"> </span><span class="identifier-syntax">tool</span><span class="plain-syntax"> </span><span class="identifier-syntax">to</span><span class="plain-syntax"> </span><span class="identifier-syntax">check</span><span class="plain-syntax"> </span><span class="identifier-syntax">up</span><span class="plain-syntax"> </span><span class="identifier-syntax">on</span><span class="plain-syntax"> </span><span class="identifier-syntax">various</span><span class="plain-syntax"> </span><span class="identifier-syntax">policies</span><span class="plain-syntax"> </span><span class="identifier-syntax">used</span><span class="plain-syntax"> </span><span class="identifier-syntax">in</span><span class="plain-syntax"> </span><span class="identifier-syntax">Inform</span><span class="plain-syntax"> </span><span class="identifier-syntax">source</span><span class="plain-syntax"> </span><span class="identifier-syntax">code</span><span class="plain-syntax">.</span>

<span class="identifier-syntax">usage:</span><span class="plain-syntax"> </span><span class="identifier-syntax">inpolicy</span><span class="plain-syntax"> [</span><span class="identifier-syntax">options</span><span class="plain-syntax">]</span>


<span class="plain-syntax">-</span><span class="identifier-syntax">check</span><span class="plain-syntax">-</span><span class="identifier-syntax">problems</span><span class="plain-syntax">               </span><span class="identifier-syntax">check</span><span class="plain-syntax"> </span><span class="identifier-syntax">problem</span><span class="plain-syntax"> </span><span class="identifier-syntax">test</span><span class="plain-syntax"> </span><span class="reserved-syntax">case</span><span class="plain-syntax"> </span><span class="identifier-syntax">coverage</span>
<span class="plain-syntax">-</span><span class="identifier-syntax">extension</span><span class="plain-syntax">-</span><span class="identifier-syntax">versions</span><span class="plain-syntax">           </span><span class="identifier-syntax">show</span><span class="plain-syntax"> </span><span class="identifier-syntax">version</span><span class="plain-syntax"> </span><span class="identifier-syntax">numbers</span><span class="plain-syntax"> </span><span class="identifier-syntax">of</span><span class="plain-syntax"> </span><span class="identifier-syntax">the</span><span class="plain-syntax"> </span><span class="identifier-syntax">built</span><span class="plain-syntax">-</span><span class="identifier-syntax">in</span><span class="plain-syntax"> </span><span class="identifier-syntax">extensions</span>
<span class="plain-syntax">-</span><span class="identifier-syntax">kit</span><span class="plain-syntax">-</span><span class="identifier-syntax">versions</span><span class="plain-syntax">                 </span><span class="identifier-syntax">show</span><span class="plain-syntax"> </span><span class="identifier-syntax">version</span><span class="plain-syntax"> </span><span class="identifier-syntax">numbers</span><span class="plain-syntax"> </span><span class="identifier-syntax">of</span><span class="plain-syntax"> </span><span class="identifier-syntax">the</span><span class="plain-syntax"> </span><span class="identifier-syntax">built</span><span class="plain-syntax">-</span><span class="identifier-syntax">in</span><span class="plain-syntax"> </span><span class="identifier-syntax">kits</span>
<span class="plain-syntax">-</span><span class="identifier-syntax">silence</span><span class="plain-syntax">                      </span><span class="identifier-syntax">print</span><span class="plain-syntax"> </span><span class="identifier-syntax">nothing</span><span class="plain-syntax"> </span><span class="identifier-syntax">unless</span><span class="plain-syntax"> </span><span class="identifier-syntax">there</span><span class="character-syntax">'s something wrong (default is -no-silence)</span>
<span class="character-syntax">-sync-extension-versions      fix version numbers of the built-in extensions to match core inform7 version</span>
<span class="character-syntax">-sync-kit-versions            fix version numbers of the built-in kits to match core inform7 version</span>
<span class="character-syntax">-verbose                      explain what inpolicy is doing (default is -no-verbose)</span>

<span class="character-syntax">-at X                         specify that this tool is installed at X</span>
<span class="character-syntax">-crash                        intentionally crash on internal errors, for backtracing (default is -no-crash)</span>
<span class="character-syntax">-fixtime                      pretend the time is 11 a.m. on 28 March 2016 for testing (default is -no-fixtime)</span>
<span class="character-syntax">-help                         print general help information</span>
<span class="character-syntax">-locale X                     set locales as '</span><span class="identifier-syntax">L</span><span class="plain-syntax">=</span><span class="identifier-syntax">E</span><span class="character-syntax">', L being shell or console, E platform, utf-8 or iso-latin1</span>
<span class="character-syntax">-log X                        write the debugging log to include diagnostics on X</span>
<span class="character-syntax">-version                      print out version number</span>
</pre>
<nav role="progress"><div class="progresscontainer">
    <ul class="progressbar"><li class="progressprev"><a href="M-ui.html">&#10094;</a></li><li class="progresscurrentchapter">M</li><li class="progresssection"><a href="M-ui.html">ui</a></li><li class="progresscurrent">rc</li><li class="progresschapter"><a href="1-bsc.html">1</a></li><li class="progresschapter"><a href="2-pc.html">2</a></li><li class="progressnext"><a href="1-bsc.html">&#10095;</a></li></ul></div>
</nav><!-- End of weave -->

		</main>
	</body>
</html>

